package com.telit.firecommand.model.sysUser;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * 依据角色组合条件查询用户简化分页
 *
 * @author yuezhuang
 * @date 2022-09-14
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "PageForRoleRequest", description = "根据角色分页查询用户request")
public class PageForRoleRequest implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "用户角色code")
    private String roleCode;

    @ApiModelProperty(value = "客户单位id")
    private Long customerId;

    @ApiModelProperty(value = "单位行政区划编码")
    private String customerRegionCode;

    @ApiModelProperty(value = "部门编码")
    private String deptCode;

    @ApiModelProperty(value = "在线状态")
    private Integer onlineStatus;

    @ApiModelProperty(value = "个人所属行政区划编码")
    private String regionCode;

    @ApiModelProperty(value = "用户账户名")
    private String userName;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "当前页数")
    private Integer current;

    @ApiModelProperty(value = "每页条数")
    private Integer size;

}
